package com.zch.house.service;

import java.util.List;

import com.zch.house.entity.Logistics;

public interface LogisticsService {
	/**
	 * 根据条件模糊查询相应的后勤人员信息
	 * @param sql
	 * @param params
	 * @return
	 */
	public List<Logistics> getAllLogisticsByPage(String name,String hone,String sex,int pageIndex);
	/**
	 * 获得查询的总页码
	 * @param sql
	 * @param params
	 * @return
	 */
	public int getTotalCount(String name,String hone,String sex);
	/**
	 * 根据后勤人员的唯一标识获得后勤人员信息
	 * @param h_id
	 * @return
	 */
	public Logistics getLogisticsById(int h_id);
	/**
	 * 添加后勤人员信息
	 * @param logistics
	 * @return
	 */
	public boolean addLogistics(Logistics logistics);
	/**
	 * 根据后勤人员的唯一标识删除后勤人员信息
	 * @param h_id
	 * @return
	 */
	public boolean deleteLogistics(int h_id);
	/**
	 * 修改后勤人员信息
	 * @param logistics
	 * @return
	 */
	public boolean updateLogistics(Logistics logistics);
}
